package cn.topevery.garden.dal.dao;

import cn.topevery.garden.entity.oneMap.CountVO;
import cn.topevery.garden.entity.po.GreMapStat;
import cn.topevery.garden.entity.query.GreMapStatQuery;
import cn.topevery.garden.entity.vo.GreMapStatVO;
import cn.topevery.garden.framework.base.BaseDao;
import hw.topevery.framework.db.entity.DataPager;

import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author code-generate
 * @date 2022-01-05
 */
public interface GreMapStatDao extends BaseDao<GreMapStat> {

    

    /**
     * 获取列表
     *
     * @param query
     */
    DataPager<GreMapStatVO> listPage(GreMapStatQuery query);

    GreMapStat getEntityByColumn(String key,String value);

    void updateSql(GreMapStat greMapStat);
    void insertSql(GreMapStat greMapStat);

    List<CountVO> getYears();

    List<Map<String, Object>> getAreaInfo(Integer year);

    List<GreMapStat> search(Map<String, Object> map);
}
